package com.ocean.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据检验任务(新功能)对象 o_file_metadata_rw
 * 
 * @author ocean
 * @date 2025-10-30
 */
public class OFileMetadataRw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 任务编码 */
    @Excel(name = "任务编码")
    private String rwbm;

    @Excel(name = "元素")
    private String ys;

    /** 预报元数据ID */
    @Excel(name = "预报元数据ID")
    private Long fmId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cjsj;

    /** 任务状态（最新状态，初始状态是：完成解析） */
    @Excel(name = "任务状态", readConverterExp = "最=新状态，初始状态是：完成解析")
    private String rwzt;

    /** 状态更新时间 */
    @Excel(name = "状态更新时间")
    private String gxsj;

    public String getYs() {
        return ys;
    }

    public void setYs(String ys) {
        this.ys = ys;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRwbm(String rwbm) 
    {
        this.rwbm = rwbm;
    }

    public String getRwbm() 
    {
        return rwbm;
    }
    public void setFmId(Long fmId) 
    {
        this.fmId = fmId;
    }

    public Long getFmId() 
    {
        return fmId;
    }
    public void setCjsj(Date cjsj) 
    {
        this.cjsj = cjsj;
    }

    public Date getCjsj() 
    {
        return cjsj;
    }
    public void setRwzt(String rwzt) 
    {
        this.rwzt = rwzt;
    }

    public String getRwzt() 
    {
        return rwzt;
    }
    public void setGxsj(String gxsj) 
    {
        this.gxsj = gxsj;
    }

    public String getGxsj() 
    {
        return gxsj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rwbm", getRwbm())
            .append("fmId", getFmId())
            .append("cjsj", getCjsj())
            .append("rwzt", getRwzt())
            .append("gxsj", getGxsj())
            .toString();
    }
}
